# $Id: PKGBUILD 56438 2011-10-07 09:58:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-io-multiplex
pkgver=1.13
pkgrel=1
pkgdesc="Perl/CPAN Module IO::Multiplex : Manage Input Output on many file handles"
arch=(any)
url="http://search.cpan.org/dist/IO-Multiplex/"
license=("GPL" "Artistic")
source=("http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/IO-Multiplex-$pkgver.tar.gz")
md5sums=('a74f4c07a543cbf06ba3b24fe1be94e9')

build() {
  cd $srcdir/IO-Multiplex-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
